package lombok;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class Test {
    public static void main(String[] args) {
        Cat cat = new Cat();
        cat.setId(1);
        cat.setName("cat");
        cat.setAge(11);
        cat.setCatName("catName");
        System.out.println(cat);

        Dog dog = new Dog();
        dog.setId(1);
        dog.setName("dog");
        dog.setAge(12);
        dog.setDogName("dogName");
        System.out.println(dog);
    }
}
